package homework.homwork12;

/**
 * @author success
 * @version 1.0
 * @description:本类用来演示:只是为了封装数据的
 * @date 2019/8/1 0001
 */
public class ProductVo {
    private String brand;

    private double total;


    public ProductVo() {
    }

    public ProductVo(String brand, double total) {
        this.brand = brand;
        this.total = total;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ProductVo{");
        sb.append("brand='").append(brand).append('\'');
        sb.append(", total=").append(total);
        sb.append('}');
        return sb.toString();
    }
}
